package com.xh.bussiness.exam.bean.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Pitt Cheung
 * @date 2021/8/18 16:47
 */
@Data
@ApiModel
public class QueryStudentPaperAnswerRequest {

    @ApiModelProperty("年级id")
    private String gradeId;

    @ApiModelProperty("教材id")
    private String bookVersionId;

    @ApiModelProperty("学生姓名/手机号")
    private String nameOrMobile;

    @ApiModelProperty("试卷标题")
    private String paperTitle;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;

}
